using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.VisualStudio.Package;
using Microsoft.VisualStudio.TextManager.Interop;

namespace NBusiness.VisualStudio.Language
{
    internal class ESharpSource : Source
    {
        public ESharpSource(LanguageService language, IVsTextLines textLines, Colorizer colorizer)
            : base(language, textLines, colorizer)
        { }

        public override void OnChangeLineText(TextLineChange[] lineChange, int last)
        {
            if (Changed != null) Changed(this, EventArgs.Empty);

            base.OnChangeLineText(lineChange, last);
        }

        public event EventHandler Changed;
    }
}
